package com.bipa.blog.dao;

import com.bipa.blog.pojo.BlogInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface SearchMapper {

    List<BlogInfo> searchTitle(String searchKey);

    List<BlogInfo> searchBlogs(String searchKey);
}
